<?xml version="1.0" encoding="utf-8"?>

<feed xmlns="http://www.w3.org/2005/Atom"
      xmlns:py="http://genshi.edgewall.org/">
    <title>${feed.title}</title>
    <subtitle py:if="feed.description">${feed.description}</subtitle>
    <updated>${tg.display_date(now, utc=True)}</updated>
    <link py:if="feed.main_link" href="${feed.main_link}"/>
    <generator uri="http://turbohvz.googlecode.com/" version="${version}">${version_info}</generator>
    <entry py:for="item in feed.sorted_items">
        <id>${item.id}</id>
        <title>${item.title}</title>
        <link py:if="item.link" href="${item.link}"/>
        <published py:if="item.created">${tg.display_date(item.created, utc=True)}</published>
        <updated>${tg.display_date(item.date, utc=True)}</updated>
        <summary>${item.summary}</summary>
    </entry>
</feed>
